package com.ydd.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@NoArgsConstructor
@Data
@AllArgsConstructor
@Builder
public class SysMenuDTO {

    @JsonProperty("id")
    private Integer id;
    @JsonProperty("component")
    private String component;
    @JsonProperty("icon")
    private String icon;
    @JsonProperty("is_cache")
    private Integer isCache;
    @JsonProperty("is_link")
    private Integer isLink;
    @JsonProperty("is_show")
    private Integer isShow;
    @JsonProperty("mark")
    private String mark;
    @JsonProperty("path")
    private String path;
    @JsonProperty("pid")
    private Integer pid;
    @JsonProperty("redirect")
    private String redirect;
    @JsonProperty("sort")
    private BigDecimal sort;
    @JsonProperty("title")
    private String title;
    @JsonProperty("type")
    private String type;

}
